InterstitialAdLoader

Full-screen interstitial ads.

Parameters

context

The context through which can be accessible the current theme, resources, etc. In particular, it uses the window manager and theme in this context to present its UI.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard

Cancel active loading of the interstitial ads.

Link copied to clipboard
suspend fun loadAd(adRequest: AdRequest): InterstitialAdLoadResult

Starts loading the ad on a background thread. Suspends until the result is available.

fun loadAd(adRequest: AdRequest, listener: InterstitialAdLoadListener)

Starts loading the ad on a background thread.